package com.school.view.beans;

import java.util.HashSet;
import java.util.Set;

import com.school.model.entity.Schueler;

public class ViewFachBean {

	private int id;
	private Integer note;
	private String name;
	private Set<Schueler> schuelers = new HashSet<>(0);

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Integer getNote() {
		return note;
	}

	public void setNote(Integer note) {
		this.note = note;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set<Schueler> getSchuelers() {
		return schuelers;
	}

	public void setSchuelers(Set<Schueler> schuelers) {
		this.schuelers = schuelers;
	}

}
